<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:forgeview="http://jboss.org/forge/view"
	template="/resources/scaffold/pageTemplate.xhtml">

	<f:metadata>
		<f:viewParam name="id" value="#{sysCompanyBean.id}"/>
		<f:event type="preRenderView" listener="#{sysCompanyBean.retrieve}"/>
	</f:metadata>

	<ui:param name="pageTitle" value="View Sys Company"/>

	<ui:define name="header">
		Sys Company
	</ui:define>

	<ui:define name="subheader">
		View existing Sys Company
	</ui:define>

	<ui:define name="footer"/>

	<ui:define name="main">
		<h:panelGrid columnClasses="label,component,required" columns="3">
			<h:outputLabel for="sysCompanyBeanSysCompanyComNo" value="Com No:"/>
			<h:outputText id="sysCompanyBeanSysCompanyComNo" value="#{sysCompanyBean.sysCompany.comNo}"/>
			<h:outputText/>
			<h:outputLabel for="sysCompanyBeanSysCompanySysTitleName" value="Sys Title Name:"/>
			<h:link id="sysCompanyBeanSysCompanySysTitleName" outcome="/sysTitleName/view" value="#{sysCompanyBean.sysCompany.sysTitleName}">
				<f:param name="id" value="#{sysCompanyBean.sysCompany.sysTitleName.titleNameNo}"/>
			</h:link>
			<h:outputText/>
			<h:outputLabel for="sysCompanyBeanSysCompanySysCurrency" value="Sys Currency:"/>
			<h:link id="sysCompanyBeanSysCompanySysCurrency" outcome="/sysCurrency/view" value="#{sysCompanyBean.sysCompany.sysCurrency}">
				<f:param name="id" value="#{sysCompanyBean.sysCompany.sysCurrency.curNo}"/>
			</h:link>
			<h:outputText/>
			<h:outputLabel for="sysCompanyBeanSysCompanyComCode" value="Com Code:"/>
			<h:outputText id="sysCompanyBeanSysCompanyComCode" value="#{sysCompanyBean.sysCompany.comCode}"/>
			<h:outputText/>
			<h:outputLabel for="sysCompanyBeanSysCompanyComName" value="Com Name:"/>
			<h:outputText id="sysCompanyBeanSysCompanyComName" value="#{sysCompanyBean.sysCompany.comName}"/>
			<h:outputText/>
			<h:outputLabel for="sysCompanyBeanSysCompanySysCompanySubsForSubComNo" value="Sys Company Subs For Sub Com No:"/>
			<h:dataTable id="sysCompanyBeanSysCompanySysCompanySubsForSubComNo" styleClass="data-table" value="#{forgeview:asList(sysCompanyBean.sysCompany.sysCompanySubsForSubComNo)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Sys Company By Com No"/>
					</f:facet>
					<h:link outcome="/sysCompanySub/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="forgeviewdisplayitemSysCompanyByComNo" value="#{forgeview:display(_item.sysCompanyByComNo)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Sub Com Descr"/>
					</f:facet>
					<h:link outcome="/sysCompanySub/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemSubComDescr" value="#{_item.subComDescr}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
			<h:outputLabel for="sysCompanyBeanSysCompanySysCompanySubsForComNo" value="Sys Company Subs For Com No:"/>
			<h:dataTable id="sysCompanyBeanSysCompanySysCompanySubsForComNo" styleClass="data-table" value="#{forgeview:asList(sysCompanyBean.sysCompany.sysCompanySubsForComNo)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Sys Company By Sub Com No"/>
					</f:facet>
					<h:link outcome="/sysCompanySub/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="forgeviewdisplayitemSysCompanyBySubComNo" value="#{forgeview:display(_item.sysCompanyBySubComNo)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Sub Com Descr"/>
					</f:facet>
					<h:link outcome="/sysCompanySub/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemSubComDescr" value="#{_item.subComDescr}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
			<h:outputLabel for="sysCompanyBeanSysCompanySysOrgs" value="Sys Orgs:"/>
			<h:dataTable id="sysCompanyBeanSysCompanySysOrgs" styleClass="data-table" value="#{forgeview:asList(sysCompanyBean.sysCompany.sysOrgs)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Org No"/>
					</f:facet>
					<h:link outcome="/sysOrg/view">
						<f:param name="id" value="#{_item.orgNo}"/>
						<h:outputText id="itemOrgNo" value="#{_item.orgNo}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
			<h:outputLabel for="sysCompanyBeanSysCompanySysCompanyNewses" value="Sys Company Newses:"/>
			<h:dataTable id="sysCompanyBeanSysCompanySysCompanyNewses" styleClass="data-table" value="#{forgeview:asList(sysCompanyBean.sysCompany.sysCompanyNewses)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Com News No"/>
					</f:facet>
					<h:link outcome="/sysCompanyNews/view">
						<f:param name="id" value="#{_item.comNewsNo}"/>
						<h:outputText id="itemComNewsNo" value="#{_item.comNewsNo}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
			<h:outputLabel for="sysCompanyBeanSysCompanySysCompanyAddrs" value="Sys Company Addrs:"/>
			<h:dataTable id="sysCompanyBeanSysCompanySysCompanyAddrs" styleClass="data-table" value="#{forgeview:asList(sysCompanyBean.sysCompany.sysCompanyAddrs)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Sys Addr 01"/>
					</f:facet>
					<h:link outcome="/sysCompanyAddr/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="forgeviewdisplayitemSysAddr01" value="#{forgeview:display(_item.sysAddr01)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Sys Addr Type"/>
					</f:facet>
					<h:link outcome="/sysCompanyAddr/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="forgeviewdisplayitemSysAddrType" value="#{forgeview:display(_item.sysAddrType)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Com Addr No"/>
					</f:facet>
					<h:link outcome="/sysCompanyAddr/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemComAddrNo" value="#{_item.comAddrNo}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Com Addr Moo"/>
					</f:facet>
					<h:link outcome="/sysCompanyAddr/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemComAddrMoo" value="#{_item.comAddrMoo}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Com Addr Soi"/>
					</f:facet>
					<h:link outcome="/sysCompanyAddr/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemComAddrSoi" value="#{_item.comAddrSoi}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
		</h:panelGrid>

		<div class="buttons">
			<h:link value="View All" outcome="search" styleClass="btn btn-primary"/> 
			<h:link value="Edit" outcome="create" includeViewParams="true" styleClass="btn btn-primary"/>
			<h:link value="Create New" outcome="create" styleClass="btn btn-primary"/>
		</div>
	</ui:define>

</ui:composition>